#include "core.h"

namespace smil{
    Glib::ustring SMILbase::get_qname()
    {
        return this->qname;
    };

    duration SMILbase::get_syncbase()
    {
        if (parent) return parent->get_implicit_syncbase(this);
        else return duration(0);
    };
    duration SMILbase::get_implicit_syncbase(SMILbase * it)
    {
        return get_syncbase();
    };
    duration SMILbase::get_begin()
    {
        if (parent) return parent->get_begin();
        else return duration(0);
    };
    duration SMILbase::get_end()
    {
        if (parent) return parent->get_end();
        else return duration(SYNC_INDEFINITE);
    };
}
